home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_09_09
/
9n09020b
< prev
next >
Wrap
Text File
|
1991-07-07
|
245b
|
17 lines
void myexit(void)
{
char reply[11];
if (proot_node != NULL) {
printf("\n The list still has nodes. Throw them away? ");
scanf("%10s", reply);
if (tolower(reply[0]) == 'n') {
return;
}
}
exit(EXIT_SUCCESS);
}